<template>
	<view class="content">
		<view class="text">
			<scroll-view scroll-y="true" style="padding: 32rpx;box-sizing: border-box;height: 85vh;">
				<u-parse :html="content"></u-parse>
			</scroll-view>
		</view>
		<view class="btn" @click="back">返回</view>
	</view>
</template>

<script>
	import {getSettingInfo} from '../../common/api.js'
	export default {
		data() {
			return {
				content:``
			}
		},
		onLoad() {
			this.getSettingInfo()
		},
		methods: {
			getSettingInfo(){
				getSettingInfo('contraband',{}).then(res=>{
					console.log(res)
					if(res.code==10000){
						this.content=res.data.contraband
					}
				})
			},
			back(){
				uni.navigateBack({
					delta: 2
				});
			}
		}
	}
</script>
<style>
page{
	background: #EDEFF2;
}
</style>
<style lang="scss" scoped>
.content{
	width: 750rpx;
	padding: 32rpx;
	box-sizing: border-box;
	.text{
		width: 100%;
		height: 85vh;
		background: #FFFFFF;
		border-radius: 20rpx;
		// padding: 32rpx;
		// box-sizing: border-box;
		font-family: PingFangSC, PingFang SC;
		font-weight: 400;
		font-size: 24rpx;
		color: #333333;
		line-height: 42rpx;
		text-align: left;
		font-style: normal;
	}
	.btn{
		width: 100%;
		height: 88rpx;
		background: #1AA261;
		border-radius: 44rpx;
		font-family: PingFangSC, PingFang SC;
		font-weight: 400;
		font-size: 30rpx;
		color: #FFFFFF;
		line-height: 88rpx;
		text-align: center;
		font-style: normal;
		margin-top: 34rpx;
	}
}
</style>
